<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::BaseLevelSet Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_base_level_set.html">BaseLevelSet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_base_level_set-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::BaseLevelSet Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>A abstract describes a mesh with level set data packages.  
 <a href="class_s_p_h_1_1_base_level_set.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html">SPH::BaseMeshWithDataPackages</a>.</p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_mesh_with_data_packages.html">SPH::MeshWithDataPackages&lt; BaseLevelSet, LevelSetDataPackage &gt;</a>, and <a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh&lt; BaseLevelSet, LevelSet &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6639df189843d6a4c2f637f014b2ec6b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a6639df189843d6a4c2f637f014b2ec6b">BaseLevelSet</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size=0)</td></tr>
<tr class="separator:a6639df189843d6a4c2f637f014b2ec6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb049d68d4cd114d4d92b64b2f1463e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a4eb049d68d4cd114d4d92b64b2f1463e">BaseLevelSet</a> (Vecd mesh_lower_bound, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells, Real cell_spacing)</td></tr>
<tr class="separator:a4eb049d68d4cd114d4d92b64b2f1463e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a3966c51857a8f50a89779483e16009"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a7a3966c51857a8f50a89779483e16009">setSPHBody</a> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *sph_body)</td></tr>
<tr class="memdesc:a7a3966c51857a8f50a89779483e16009"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the <a class="el" href="namespace_s_p_h.html">SPH</a> body externally.  <a href="#a7a3966c51857a8f50a89779483e16009">More...</a><br /></td></tr>
<tr class="separator:a7a3966c51857a8f50a89779483e16009"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d1f0e9d005e84d30651f9b747bda6aa"><td class="memItemLeft" align="right" valign="top">virtual Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a4d1f0e9d005e84d30651f9b747bda6aa">probeLevelSet</a> (Vecd position)=0</td></tr>
<tr class="memdesc:a4d1f0e9d005e84d30651f9b747bda6aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function probe the level set at a off-grid position.  <a href="#a4d1f0e9d005e84d30651f9b747bda6aa">More...</a><br /></td></tr>
<tr class="separator:a4d1f0e9d005e84d30651f9b747bda6aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e68f134a2840fe70e5b1457f13a3079"><td class="memItemLeft" align="right" valign="top">virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a2e68f134a2840fe70e5b1457f13a3079">probeNormalDirection</a> (Vecd position)=0</td></tr>
<tr class="memdesc:a2e68f134a2840fe70e5b1457f13a3079"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function probe the normal direction at a off-grid position.  <a href="#a2e68f134a2840fe70e5b1457f13a3079">More...</a><br /></td></tr>
<tr class="separator:a2e68f134a2840fe70e5b1457f13a3079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf813c4949eea0eb1e874f4953608358"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#aaf813c4949eea0eb1e874f4953608358">updateNormalDirection</a> ()=0</td></tr>
<tr class="separator:aaf813c4949eea0eb1e874f4953608358"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html">SPH::BaseMeshWithDataPackages</a></td></tr>
<tr class="memitem:ac86d161b646b5938189e2d337d4b6bce inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#ac86d161b646b5938189e2d337d4b6bce">BaseMeshWithDataPackages</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size=0)</td></tr>
<tr class="separator:ac86d161b646b5938189e2d337d4b6bce inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d70bf1a3a8ca197fc448efc44b90d63 inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a6d70bf1a3a8ca197fc448efc44b90d63">BaseMeshWithDataPackages</a> (Vecd mesh_lower_bound, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells, Real cell_spacing)</td></tr>
<tr class="separator:a6d70bf1a3a8ca197fc448efc44b90d63 inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef6b8ee804238acb91f80fb0797f3be inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top"><a id="a9ef6b8ee804238acb91f80fb0797f3be"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a9ef6b8ee804238acb91f80fb0797f3be">initializeDataPackages</a> ()=0</td></tr>
<tr class="memdesc:a9ef6b8ee804238acb91f80fb0797f3be inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize the data packages with external information. <br /></td></tr>
<tr class="separator:a9ef6b8ee804238acb91f80fb0797f3be inherit pub_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:a5546f322670e4df7e79f2ea52367de23 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a5546f322670e4df7e79f2ea52367de23">Mesh</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size=0)</td></tr>
<tr class="separator:a5546f322670e4df7e79f2ea52367de23 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0172f0d850492075075c6a56fa484567 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a0172f0d850492075075c6a56fa484567">Mesh</a> (Vecd mesh_lower_bound, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells, Real cell_spacing)</td></tr>
<tr class="separator:a0172f0d850492075075c6a56fa484567 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3184da419f5fb791fd21ca8e24f82cf4 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a3184da419f5fb791fd21ca8e24f82cf4">CellSpacing</a> ()</td></tr>
<tr class="separator:a3184da419f5fb791fd21ca8e24f82cf4 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacda40c501e9d0545da816f918ef8f25 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#aacda40c501e9d0545da816f918ef8f25">NumberOfCells</a> ()</td></tr>
<tr class="separator:aacda40c501e9d0545da816f918ef8f25 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30aa391148361b419b89756906bd3d2e inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a30aa391148361b419b89756906bd3d2e">MeshBufferSize</a> ()</td></tr>
<tr class="separator:a30aa391148361b419b89756906bd3d2e inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99391ca2e48886deb412a961b2484a7 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ae99391ca2e48886deb412a961b2484a7">isWithinMeshBound</a> (Vecd position)</td></tr>
<tr class="memdesc:ae99391ca2e48886deb412a961b2484a7 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function check whether a position well within in the mesh bounds.  <a href="class_s_p_h_1_1_mesh.html#ae99391ca2e48886deb412a961b2484a7">More...</a><br /></td></tr>
<tr class="separator:ae99391ca2e48886deb412a961b2484a7 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ead23440b15961e2658156b2d4e7fe inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a04ead23440b15961e2658156b2d4e7fe">CellIndexesFromPosition</a> (Vecd &amp;position)</td></tr>
<tr class="separator:a04ead23440b15961e2658156b2d4e7fe inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a6464f11ceee9f24432033535e479af inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a5a6464f11ceee9f24432033535e479af">CellPositionFromIndexes</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_indexes)</td></tr>
<tr class="separator:a5a6464f11ceee9f24432033535e479af inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af24bc38b8a18b909328625eabb838fb6 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#af24bc38b8a18b909328625eabb838fb6">writeMeshToVtuFile</a> (ofstream &amp;output_file)=0</td></tr>
<tr class="separator:af24bc38b8a18b909328625eabb838fb6 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24e02673c59812a1bf3fd192f62f8f37 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a24e02673c59812a1bf3fd192f62f8f37">writeMeshToPltFile</a> (ofstream &amp;output_file)=0</td></tr>
<tr class="separator:a24e02673c59812a1bf3fd192f62f8f37 inherit pub_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a24a968bc706af8c7fbdc427ca7ed156b">BaseMesh</a> ()</td></tr>
<tr class="separator:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a06e00f3689429e2b174e3da6a7021900">BaseMesh</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a00a3bee5412ec539c8cd068d504cd45b">MeshLowerBound</a> ()</td></tr>
<tr class="separator:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a075244782af1e6dccff264c569e29dab">GridSpacing</a> ()</td></tr>
<tr class="separator:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad6f44b0d0886d0fd8cbbbded978fca8c">NumberOfGridPoints</a> ()</td></tr>
<tr class="separator:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">GridIndexFromPosition</a> (Vecd &amp;position)</td></tr>
<tr class="memdesc:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid indexes from point position/.  <a href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">More...</a><br /></td></tr>
<tr class="separator:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">GridPositionFromIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid position from indexes.  <a href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">More...</a><br /></td></tr>
<tr class="separator:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">transfer1DtoMeshIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="classsize__t.html">size_t</a> i)</td></tr>
<tr class="memdesc:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert 1d vector index to mesh index.  <a href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">More...</a><br /></td></tr>
<tr class="separator:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">transferMeshIndexTo1D</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_index)</td></tr>
<tr class="memdesc:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert mesh index to 1d vector index.  <a href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">More...</a><br /></td></tr>
<tr class="separator:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58efbb7a02aa9d7cb00b25a813246f22 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a58efbb7a02aa9d7cb00b25a813246f22">allocateMeshDataMatrix</a> ()=0</td></tr>
<tr class="separator:a58efbb7a02aa9d7cb00b25a813246f22 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1acc5827a77705943ed2e2357d77e7af inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a1acc5827a77705943ed2e2357d77e7af">deleteMeshDataMatrix</a> ()=0</td></tr>
<tr class="separator:a1acc5827a77705943ed2e2357d77e7af inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8ca88b5ed0c788959ac5578bc2d30840"><td class="memItemLeft" align="right" valign="top"><a id="a8ca88b5ed0c788959ac5578bc2d30840"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sph_body_</b></td></tr>
<tr class="separator:a8ca88b5ed0c788959ac5578bc2d30840"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:a0220a9cfe258f8fb9ccdee36ba27193a inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a0220a9cfe258f8fb9ccdee36ba27193a">buffer_size_</a></td></tr>
<tr class="separator:a0220a9cfe258f8fb9ccdee36ba27193a inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b8a7819fe4eb22f4717dbf09c3b325 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a90b8a7819fe4eb22f4717dbf09c3b325">cell_spacing_</a></td></tr>
<tr class="separator:a90b8a7819fe4eb22f4717dbf09c3b325 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8996ae22420ea203e1206c2c7466d716 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a8996ae22420ea203e1206c2c7466d716">number_of_cells_</a></td></tr>
<tr class="separator:a8996ae22420ea203e1206c2c7466d716 inherit pro_attribs_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ac8559448b24066e06263bff0aa5ba75b">mesh_lower_bound_</a></td></tr>
<tr class="separator:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#af6c2e186b771c3573486cdcbaa362b25">grid_spacing_</a></td></tr>
<tr class="separator:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a5e1e27e30924c3390d8cdd20dba606fd">number_of_grid_points_</a></td></tr>
<tr class="separator:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html">SPH::BaseMeshWithDataPackages</a></td></tr>
<tr class="memitem:a20bf305d1d4fea7d4ba58c8155b4d425 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a20bf305d1d4fea7d4ba58c8155b4d425">initializeDataInACell</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index, Real dt)=0</td></tr>
<tr class="memdesc:a20bf305d1d4fea7d4ba58c8155b4d425 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize a cell with package data.  <a href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a20bf305d1d4fea7d4ba58c8155b4d425">More...</a><br /></td></tr>
<tr class="separator:a20bf305d1d4fea7d4ba58c8155b4d425 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa09362ede89231707a51cfce1f5f927 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#aaa09362ede89231707a51cfce1f5f927">initializeAddressesInACell</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index, Real dt)=0</td></tr>
<tr class="memdesc:aaa09362ede89231707a51cfce1f5f927 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize the addresses in a data package.  <a href="class_s_p_h_1_1_base_mesh_with_data_packages.html#aaa09362ede89231707a51cfce1f5f927">More...</a><br /></td></tr>
<tr class="separator:aaa09362ede89231707a51cfce1f5f927 inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92ae00997884f30d46ce42f5c95bd69b inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a92ae00997884f30d46ce42f5c95bd69b">tagACellIsInnerPackage</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_index, Real dt)=0</td></tr>
<tr class="memdesc:a92ae00997884f30d46ce42f5c95bd69b inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function tag if a data package is inner package.  <a href="class_s_p_h_1_1_base_mesh_with_data_packages.html#a92ae00997884f30d46ce42f5c95bd69b">More...</a><br /></td></tr>
<tr class="separator:a92ae00997884f30d46ce42f5c95bd69b inherit pro_methods_class_s_p_h_1_1_base_mesh_with_data_packages"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_mesh.html">SPH::Mesh</a></td></tr>
<tr class="memitem:a988f01aaf45e7cd0e0cb6d7627540877 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a988f01aaf45e7cd0e0cb6d7627540877">setMeshLowerBound</a> (Vecd lower_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size)</td></tr>
<tr class="memdesc:a988f01aaf45e7cd0e0cb6d7627540877 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the mesh lower bound including the buffer region.  <a href="class_s_p_h_1_1_mesh.html#a988f01aaf45e7cd0e0cb6d7627540877">More...</a><br /></td></tr>
<tr class="separator:a988f01aaf45e7cd0e0cb6d7627540877 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada3c6fb4b8e30787b9dc2ea3384d0d71 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ada3c6fb4b8e30787b9dc2ea3384d0d71">calcNumberOfCells</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size)</td></tr>
<tr class="memdesc:ada3c6fb4b8e30787b9dc2ea3384d0d71 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total cells.  <a href="class_s_p_h_1_1_mesh.html#ada3c6fb4b8e30787b9dc2ea3384d0d71">More...</a><br /></td></tr>
<tr class="separator:ada3c6fb4b8e30787b9dc2ea3384d0d71 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae76f87848216771b3471ab055df2fd4a inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ae76f87848216771b3471ab055df2fd4a">NumberOfGridPointsFromNumberOfCells</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells)</td></tr>
<tr class="memdesc:ae76f87848216771b3471ab055df2fd4a inherit pro_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total grid points form total cells.  <a href="class_s_p_h_1_1_mesh.html#ae76f87848216771b3471ab055df2fd4a">More...</a><br /></td></tr>
<tr class="separator:ae76f87848216771b3471ab055df2fd4a inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcc73c0057b2808792b303995ef27ee inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a4bcc73c0057b2808792b303995ef27ee">NumberOfCellsFromNumberOfGridPoints</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="memdesc:a4bcc73c0057b2808792b303995ef27ee inherit pro_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total cells form total grid points.  <a href="class_s_p_h_1_1_mesh.html#a4bcc73c0057b2808792b303995ef27ee">More...</a><br /></td></tr>
<tr class="separator:a4bcc73c0057b2808792b303995ef27ee inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee95055cea1e7ce73429cea1b4a1ccb inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a1ee95055cea1e7ce73429cea1b4a1ccb">copyMeshProperties</a> (<a class="el" href="class_s_p_h_1_1_mesh.html">Mesh</a> *another_mesh)</td></tr>
<tr class="separator:a1ee95055cea1e7ce73429cea1b4a1ccb inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3082045653c5b076acf14ea23c862021 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a3082045653c5b076acf14ea23c862021">GridPositionFromCellPosition</a> (Vecd &amp;cell_position)</td></tr>
<tr class="memdesc:a3082045653c5b076acf14ea23c862021 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function shift position between cell and grid positions.  <a href="class_s_p_h_1_1_mesh.html#a3082045653c5b076acf14ea23c862021">More...</a><br /></td></tr>
<tr class="separator:a3082045653c5b076acf14ea23c862021 inherit pro_methods_class_s_p_h_1_1_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A abstract describes a mesh with level set data packages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6639df189843d6a4c2f637f014b2ec6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6639df189843d6a4c2f637f014b2ec6b">&#9670;&nbsp;</a></span>BaseLevelSet() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::BaseLevelSet::BaseLevelSet </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>upper_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>grid_spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>buffer_size</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor using domain information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lower_bound</td><td>Lower bound. </td></tr>
    <tr><td class="paramname">upper_bound</td><td>Upper bound. </td></tr>
    <tr><td class="paramname">grid_spacing</td><td>Grid spcaing. </td></tr>
    <tr><td class="paramname">buffer_size</td><td>BUffer size. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4eb049d68d4cd114d4d92b64b2f1463e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4eb049d68d4cd114d4d92b64b2f1463e">&#9670;&nbsp;</a></span>BaseLevelSet() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::BaseLevelSet::BaseLevelSet </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>mesh_lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>number_of_cells</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>cell_spacing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor using mesh information directly. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mesh_lower_bound</td><td>Lower bound. </td></tr>
    <tr><td class="paramname">number_of_cells</td><td>Upper bound. </td></tr>
    <tr><td class="paramname">cell_spacing</td><td>Cell spcaing. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4d1f0e9d005e84d30651f9b747bda6aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d1f0e9d005e84d30651f9b747bda6aa">&#9670;&nbsp;</a></span>probeLevelSet()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Real SPH::BaseLevelSet::probeLevelSet </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function probe the level set at a off-grid position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position(Vecd)</td><td>The enquiry postion </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_level_set.html#aa1f1cf5428481ad2909ab4d0e83ebcde">SPH::LevelSet</a>.</p>

</div>
</div>
<a id="a2e68f134a2840fe70e5b1457f13a3079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e68f134a2840fe70e5b1457f13a3079">&#9670;&nbsp;</a></span>probeNormalDirection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Vecd SPH::BaseLevelSet::probeNormalDirection </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function probe the normal direction at a off-grid position. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position(Vecd)</td><td>The enquiry postion </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_level_set.html#a4f20b8631da8487d7a01218f8dcf15b9">SPH::LevelSet</a>.</p>

</div>
</div>
<a id="a7a3966c51857a8f50a89779483e16009"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a3966c51857a8f50a89779483e16009">&#9670;&nbsp;</a></span>setSPHBody()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::BaseLevelSet::setSPHBody </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *&#160;</td>
          <td class="paramname"><em>sph_body</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function set the <a class="el" href="namespace_s_p_h.html">SPH</a> body externally. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">sph_body(SPHBody)</td><td>Pointer to <a class="el" href="namespace_s_p_h.html">SPH</a> Body </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaf813c4949eea0eb1e874f4953608358"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf813c4949eea0eb1e874f4953608358">&#9670;&nbsp;</a></span>updateNormalDirection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::BaseLevelSet::updateNormalDirection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>update the normal direction </p>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_level_set.html#a8af3d46cc57ebc901898387dbedb7fbf">SPH::LevelSet</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a></li>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8cpp.html">base_mesh.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
